import request from "../utils/http";

// 获取操作日志表
export function getLogs(params) {
    return request({
        url: "/logs",
        method: "get",
        params: params,
    });
}

// 删除操作日志表
export function deleteLog(id) {
    return request({
        url: `/logs/${id}`,
        method: "delete",
    });
}